package www.shuang.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import www.shuang.common.util.PageInfoUtil;
import www.shuang.users.pojo.AAdmins;
import www.shuang.users.pojo.AUsers;
import www.shuang.users.pojo.AUsersCard;
import www.shuang.users.pojo.AUsersGrant;

public interface IAAdminsService
{
	
	
	AAdmins findOneAAdminsService(Map<String,Object> condMap);
	List<AAdmins> findCondListAAdminsService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	//插入一条记录
	JSONObject insertOneAAdminsService(AAdmins admins);
	//更新一条记录
	JSONObject updateOneAAdminsService(AAdmins admins);
	//删除一条记录
	JSONObject deleteOneAAdminsService(AAdmins admins);
	//
	AUsers findOneAUsersService(Map<String,Object> condMap);
	List<AUsers> findCondListAUsersService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	//插入一条记录
	JSONObject insertOneAUsersService(AUsers users);
	//更新一条记录
	JSONObject updateOneAUsersService(AUsers users);
	//删除一条记录
	JSONObject deleteOneAUsersService(AUsers users);
	//
	AUsersGrant findOneAUsersGrantService(Map<String,Object> condMap);
	List<AUsers> findCondListAUsersGrantService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	//插入一条记录
	JSONObject insertOneAUsersService(AUsersGrant usersGrant);
	//更新一条记录
	JSONObject updateOneAUsersService(AUsersGrant usersGrant);
	//删除一条记录
	JSONObject deleteOneAUsersService(AUsersGrant usersGrant);
	//
	AUsersCard findOneUsersCardService(Map<String, Object> condMap);
	//
	List<AUsersCard> findCondListUsersCardService(PageInfoUtil pageInfoUtil ,Map<String, Object> condMap);
}
